﻿using Abp.Domain.Entities.Auditing;
using Camc.Quality.Bom.Dto;
using Camc.Quality.WorkFlow;
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.BomChange.Dto
{
   public class BomChangeContentDto : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 变更编号
        /// </summary>
        public string ChangeNo { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string Module { get; set; }
        /// <summary>
        /// 型号Id
        /// </summary>
        public Guid ModuleId { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string SendTime { get; set; }
        /// <summary>
        /// 发次id
        /// </summary>
        public Guid SendTimeId { get; set; }
        /// <summary>
        /// 芯级
        /// </summary>
        public string XJName { get; set; }
        /// <summary>
        /// 芯级
        /// </summary>
        public Guid XJId { get; set; }
        /// <summary>
        /// 部套
        /// </summary>
        public string BTName { get; set; }
        /// <summary>
        /// 部套
        /// </summary>
        public Guid BTId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public string MaterialNo { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 变更前版本
        /// </summary>
        public string BeforeVersion { get; set; }
        /// <summary>
        /// 变更后版本
        /// </summary>
        public string LaterVersion { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string Proposer { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime ApplyForTime { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        [CanBeNull]
        public DateTime? PublishTime { get; set; }
        /// <summary>
        /// 变更原因(下拉)
        /// </summary>
        public string ReasonsChange { get; set; }
        /// <summary>
        /// 变更原因说明
        /// </summary>
        public string ReasonsChangeExplain { get; set; }
        /// <summary>
        /// 变更内容
        /// </summary>
        public string ChangeContent { get; set; }
        /// <summary>
        /// 设计bom id
        /// </summary>
        public Guid BomDesignId { get; set; }
        /// <summary>
        /// 维护Bom id
        /// </summary>
        public Guid UpdateBTid { get; set; }
        /// <summary>
        /// 编码规则ID
        /// </summary>
        public Guid CodeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<WorkAuditorOutput>  workAuditorOutput { get; set; }
    }
}
